Skip to content

ci: bump GitHub Actions to latest and keep full SHA pins - #21

Merged
opariffazman merged 1 commit into
mainfrom
fm/w3-gitverse
Nov 16, 2026
Merged

opariffazman merged 1 commit into
mainfrom
fm/w3-gitverse

Conversation

@opariffazman

@opariffazman opariffazman commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

Needs you

Merge, or request changes.

Summary

Bumps four GitHub Actions to their latest releases in three workflow files. Each action stays pinned to a full commit SHA. Three checks pass.

Risk

Merging does not deploy, but later deploy.yml runs use the new action versions.

Agent detail

Facts

  • Kind: pull request
  • Rules class of the repo: none
  • Base branch: main, head 2924bf0
  • Files: 3 changed, +10 -10
    • .github/workflows/ci.yml
    • .github/workflows/deploy.yml
    • .github/workflows/preview.yml
  • Checks: passing (3 read)
  • Merging runs a deploy or release workflow: no
    • .github/workflows/ci.yml on push to the base branch (no deploy or release step found, path filter: none)

Original text

## Summary

Bump every action on a `uses:` line that is behind its latest release, and pin each to the release commit SHA with a trailing `# vX.Y.Z` comment. This preserves the repo's existing SHA-pinning style. One PR for wave 3.

Starting point: current `main` (`647f83a`), with the wave 2 changes already merged.

## Lines changed: 10

| Action | From | To | Lines | Files |
|---|---|---|---|---|
| `actions/checkout` | v6.0.2 | v7.0.1 | 4 | `ci.yml` ×2, `deploy.yml`, `preview.yml` |
| `actions/setup-node` | v6.4.0 | v7.1.0 | 4 | `ci.yml` ×2, `deploy.yml`, `preview.yml` |
| `JamesIves/github-pages-deploy-action` | v4.8.0 | v4.9.0 | 1 | `deploy.yml` |
| `rossjrw/pr-preview-action` | v1.8.1 | v1.8.2 | 1 | `preview.yml` |

The plan's "8 behind" counts only actions a *major* behind latest. `JamesIves` and `rossjrw` are within the same major but still behind their latest releases, so this PR bumps them too, per the wave 3 rule to bump every action behind its latest release. All four were resolved with `gh api repos/<action>/releases/latest` and tag-to-commit resolution (annotated tags peeled).

New pins:

- `actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1`
- `actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0`
- `JamesIves/github-pages-deploy-action@fa24774553152dd7873cd16ebd8d959b010c5445 # v4.9.0`
- `rossjrw/pr-preview-action@873417d2df72380da1f3978378fb58560bcde976 # v1.8.2`

## Node 20 lines removed: 0

This repo already had no Node 20 action lines; all 10 `uses:` lines were SHA-pinned to Node 24 or composite actions. These bumps do not remove a Node 20 line here.

## Major-version behavior changes read

- **checkout v7.0.0 / v7.0.1** — v7 blocks checking out a fork PR for `pull_request_target` and `workflow_run`. This repo triggers on `push` and `pull_request` only, so no impact. v7.0.1 fixes an unsafe-PR check. No inputs changed.
- **setup-node v7.0.0 / v7.1.0** — ESM migration; removes the dummy `NODE_AUTH_TOKEN` export; adds `cache-primary-key` / `cache-matched-key` outputs plus mise.toml and absolute `node-version-file` support. The workflows use only `node-version: 24` and `cache: npm`, both still valid. No input changes.
- **JamesIves/github-pages-deploy-action v4.9.0** — bug fix in the temporary deployment branch name. `folder` and `clean-exclude` inputs are unchanged.
- **rossjrw/pr-preview-action v1.8.2** — GHE URL fix. `source-dir` is unchanged.

## Left unchanged

Job names and step names (so check names do not move), triggers, runner labels (`ubuntu-latest`, and the `ubuntu-24.04` e2e pin), permissions, concurrency, and the release/deploy logic. There are no local `./` actions or reusable-workflow calls in this repo. No `renovate.json` or Renovate config was added.

## Validation

- `npx prettier --check '.github/workflows/*.yml'` passes.
- All 10 `uses:` lines verified as a full 40-character commit SHA plus a `# vX.Y.Z` comment, and each SHA resolved from its tag.
- This repo has no actionlint or dedicated workflow linter; the `check` and `e2e` jobs in CI are the workflow check.

Writer

  • Written by pr-writer 0.1.3 with claude-sonnet-5-5.
  • The service never rewrites its own output. Edit the top part by hand to change it.

Bump every third-party and first-party action to its latest release and
pin it to the release commit SHA with a trailing version comment.

- actions/checkout v6.0.2 -> v7.0.1 (4 lines)
- actions/setup-node v6.4.0 -> v7.1.0 (4 lines)
- JamesIves/github-pages-deploy-action v4.8.0 -> v4.9.0 (1 line)
- rossjrw/pr-preview-action v1.8.1 -> v1.8.2 (1 line)

All 10 uses: lines were already SHA-pinned and stay pinned. No Node 20
targets remain in this repo, so these bumps remove no Node 20 lines.
Job names, step names, triggers, runner labels and permissions are
unchanged.
@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.2
Preview removed because the pull request was closed.
2026-11-16 03:13 UTC

@opariffazman
opariffazman merged commit e015504 into main Nov 16, 2026
6 checks passed
@opariffazman
opariffazman deleted the fm/w3-gitverse branch November 16, 2026 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant